<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>紫微命盘</title>
<link rel="stylesheet" type="text/css"
	href="/bootstrap/css/bootstrap.min.css"></link>
<link rel="stylesheet" type="text/css"
	href="/datepicker/bootstrap-datetimepicker.min.css"></link>

<script src="/jquery/jquery.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/datepicker/moment.js"></script>
<script src="/datepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/raphael/raphael.min.js"></script>
<script src="/js/mingpan.js"></script>
</head>
<body>
	<div class="container" style="padding-top: 10px; padding-left:0px;">

		<form id="defaultForm" th:action="@{/getMingPan}" method="post" class="form-inline">
			<div class="form-group">
				<label>出生时间（农历）</label>
				<div class='input-group date' id='datetimepicker'>
					<input name="birthday" type='text' class="form-control" /> 
					<span class="input-group-addon"> 
						<span class="glyphicon glyphicon-time"></span>
					</span>
				</div>
			</div>
			<div class="form-group">
				<label>性别</label>
				<div class="radio">
					<label> <input type="radio" name="sex" value="M" checked="checked" />男 </label>
				</div>
				<div class="radio">
					<label> <input type="radio" name="sex" value="F" />女 </label>
				</div>
			</div>
			<div class="form-group">
				<label>当前年</label> <input type="text" name="curYear" class="form-control" />
			</div>
			<div class="form-group">
				<div class="radio">
					<label> <input type="radio" name="type" value="tianPan" checked="checked" />天盘 </label>
				</div>
				<div class="radio">
					<label> <input type="radio" name="type" value="daXianPan" />大限盘 </label>
				</div>
				<div class="radio">
					<label> <input type="radio" name="type" value="liuNianPan" />流年盘 </label>
				</div>		
			</div>
			<button type="submit" class="btn btn-default">提交</button>
		</form>

		<div id="canvas" style="padding-top: 10px;margin:10px"></div>

	</div>
</body>
</html>